<script setup lang="ts">

import {QuillEditor} from "@vueup/vue-quill";
import '@vueup/vue-quill/dist/vue-quill.snow.css';
import {ref} from "vue";
const editor = ref()
const emit =defineEmits(['backContent'])
const updateContent = (e) => {

    emit('backContent',editor.value.getHTML())
}

</script>

<template>
    <QuillEditor theme="snow" ref="editor" @update:content="updateContent"/>
</template>

<style scoped>

</style>